<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
    <%@page import="java.util.*" %>
    <%@page import="Dao.*" %>
    <%@page import="Entity.*" %>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>我下载的精品课程</title>
</head>
<body>
<link rel="stylesheet"
		href="<%=request.getContextPath()%>/css/myRelease_teacher.css"
		type="text/css"></link>
		<jsp:useBean id="MyExcellentCourse_studentDao" class="Dao.MyExcellentCourse_studentDao"></jsp:useBean>
<a>我下载的精品课程</a>
<table class="dataintable">
<tr>
<td><b>学号</b></td>
<td><b>课程号</b></td>
<td><b>标签</b></td>
<td><b>课程名</b></td>
<td><b>上传者ID</b></td>
<td><b>上传时间</b></td>
<td><b>简介</b></td>
</tr>
<%
if(session.getAttribute("session_userName")!=null){
String studentNo=session.getAttribute("session_userName").toString();
List<MyExcellentCourse_student> mcslist=new MyExcellentCourse_studentDao().queryMyExcellentCourseByStudentNo(studentNo);
for(MyExcellentCourse_student mecs:mcslist){
%>
<tr>
<td><input type="text" value=<%=mecs.getStudentNo() %> readonly></td>
<td><input type="text" value=<%=mecs.getCourseID() %> readonly></td>
<td><input type="text" value=<%=mecs.getLabel() %> readonly></td>
<td><input type="text" value=<%=mecs.getCourseName() %> readonly></td>
<td><input type="text" value=<%=mecs.getUploaderID() %> readonly></td>
<td><input type="text" value=<%=mecs.getUploadTime() %> readonly></td>
<td><input type="text" value=<%=mecs.getBriefIntroduce() %> readonly></td>
</tr>
<%
}}%>
</table>
</body>
</html>